﻿#region << 文 件 说 明 >>

/*----------------------------------------------------------------
// 文件名称：ILogger
// 创 建 者：杨程
// 创建时间：2021/9/10 14:46:26
// 文件版本：V1.0.0
// ===============================================================
// 功能描述：
//
//
//----------------------------------------------------------------*/

#endregion

namespace Vampirewal.Core.Interface;

/// <summary>
/// VampireCore日志服务
/// </summary>
public interface IVampirewalCoreLogService
{
    /// <summary>
    /// 写日志
    /// </summary>
    /// <param name="Msg">内容</param>
    /// <param name="loggerType">日志类型</param>
    /// <param name="SystemModuleName">系统模块</param>
    void WriteLog(string Msg, LoggerType loggerType, string SystemModuleName);

    /// <summary>
    /// 写Debug日志
    /// </summary>
    /// <param name="Msg"></param>
    /// <param name="SystemModuleName"></param>
    void DebugLog(string Msg, string SystemModuleName);

    /// <summary>
    /// 写警告日志
    /// </summary>
    /// <param name="Msg"></param>
    /// <param name="SystemModuleName"></param>
    void WarningLog(string Msg, string SystemModuleName);

    /// <summary>
    /// 写错误日志
    /// </summary>
    /// <param name="Msg"></param>
    /// <param name="SystemModuleName"></param>
    void ErrorLog(string Msg, string SystemModuleName);

    /// <summary>
    /// SQL出现问题
    /// </summary>
    /// <param name="Msg"></param>
    /// <param name="SystemModuleName"></param>
    void SQLLog(string Msg, string SystemModuleName);
}